<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}">
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>

<body class="container">
<br/>
<br/><br/>
<div style="width:400px; height: 500px; margin: 70px auto;background-color: pink">
    <div style="height: 300px; width: 300px; line-height: 300px; text-align: center;
    font-size: 40px; margin: 20px auto ; background-color: #faf2cc">
        <!--<div>-->
        <!--    <div>-->
        用户登录
    </div>
    <form style="width: 90%" class="form-horizontal" action="/user/login">
        <div class="form-group">
            <label for="username" class="col-sm-2 control-label">账户</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="username" id="username" placeholder="请输入账户名"/>
            </div>
        </div>
        <div class="form-group">
            <label for="password" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码"/>
            </div>
        </div>
        <div class="form-group" style="text-align: center; margin-top: 30px">
            <!--            <a href="/admin/login" style="line-height: 100%">-->
            <input type="submit" id="adminLogin" style="width:100px" class="btn btn-info" th:value="登录">
            <!--            </a>-->
            <a href="/user/toAdd">
                <input type="button" id="userLogin" style="width:100px" class="btn btn-info" th:value="注册">
            </a>
            <input type="reset" id="reset" value="重置" style="width:100px" class="btn btn-info"/>
        </div>
    </form>
</div>
<!--<div style="width:400px; height: 500px; margin: 70px auto;background-color: pink">-->
<!--    <div style="height: 300px; width: 300px; line-height: 300px; text-align: center;-->
<!--    font-size: 40px; margin: 20px auto ; background-color: #faf2cc">-->
<!--    <h1>用户登录</h1>-->
<!--    <form class="form-horizontal" action="/user/login" method="post">-->
<!--        <div class="form-group">-->
<!--            <label for="username" class="col-sm-2 control-label" >账户</label>-->
<!--            <div class="col-sm-10">-->
<!--                <input type="text" class="form-control" name="username" id="username" placeholder="请输入账户名"/>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label for="password" class="col-sm-2 control-label" >密码</label>-->
<!--            <div class="col-sm-10">-->
<!--                <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码"/>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <div class="col-sm-offset-2 col-sm-10">-->
<!--                <input type="submit" value="提交" class="btn btn-info" />-->
<!--                <input type="reset" value="重置" class="btn btn-info" />-->
<!--            </div>-->
<!--        </div>-->
<!--        <div>-->
<!--            <span th:text="${msg.state}">state</span>-->
<!--            <span th:text="${msg.result}">result</span>-->
<!--        </div>-->
</form>
</div>

</body>
</html>